/* ===== 变量与重置 ===== */
:root {
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --gold: #d4a853;
  --gold-light: #f0c96e;
  --gold-dark: #a67c2e;
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.35);
  --purple: #7c3aed;
  --text: #e8edf5;
  --text-muted: #8b9cb8;
  --border: rgba(212, 168, 83, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1000;
  box-shadow: 0 4px 20px rgba(212, 168, 83, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 168, 83, 0.5);
}

.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(212, 168, 83, 0.1);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
}
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.1); }

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== 顶部导航 ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: #1a1000;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-size: 0.95rem; color: var(--gold-light); }
.logo-text small { font-size: 0.7rem; color: var(--text-muted); }

.main-nav {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.main-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 168, 83, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0d1225 0%, var(--bg-dark) 100%);
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,83,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,83,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212, 168, 83, 0.12);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.hero-tags li {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-tags strong {
  color: var(--gold);
  margin-right: 4px;
}

/* 手机 mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.phone-screen {
  width: 280px;
  background: #1a1f35;
  border-radius: 28px;
  border: 3px solid rgba(212, 168, 83, 0.4);
  box-shadow:
    0 0 60px rgba(212, 168, 83, 0.2),
    0 30px 60px rgba(0,0,0,0.5);
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}

.mock-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green { background: #22c55e; }

.mock-body { padding: 20px 16px 24px; }

.mock-hero-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mock-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  border: 2px solid var(--gold);
}
.mock-stats { flex: 1; }
.mock-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); margin-bottom: 6px; }
.mock-line.w80 { width: 80%; }
.mock-line.w60 { width: 60%; }
.mock-rank {
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1000;
}

.mock-skills {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.skill-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(59,130,246,0.2);
  border: 2px solid rgba(59,130,246,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
}
.skill-icon.active {
  border-color: var(--gold);
  background: rgba(212,168,83,0.15);
  color: var(--gold);
  box-shadow: 0 0 12px rgba(212,168,83,0.4);
}
.skill-icon.cd { opacity: 0.4; }

.mock-timer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  border-left: 3px solid #ef4444;
  margin-bottom: 16px;
}
.timer-label { font-size: 0.8rem; color: var(--text-muted); }
.timer-value { font-size: 1.1rem; font-weight: 700; color: #ef4444; font-variant-numeric: tabular-nums; }

.mock-combo {
  text-align: center;
  padding: 10px;
  background: linear-gradient(135deg, rgba(212,168,83,0.2), rgba(124,58,237,0.2));
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--gold-light);
  border: 1px solid rgba(212,168,83,0.3);
}

/* ===== 通用区块标题 ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}
.section-header h2 em,
.checklist-header h2 em { font-style: normal; color: var(--gold-light); }
.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

/* ===== 推荐清单 ===== */
.checklist {
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(17,24,39,0.8) 50%, transparent);
}

.checklist-header { margin-bottom: 2rem; }
.checklist-header .section-label em { font-style: normal; color: var(--text-muted); }
.checklist-header h2 { font-size: 1.4rem; }

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.checklist-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}
.checklist-grid li:hover {
  border-color: rgba(212,168,83,0.4);
  transform: translateY(-2px);
}

.check-icon {
  flex-shrink: 0;
  padding: 4px 10px;
  background: rgba(212,168,83,0.15);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}

/* ===== 核心功能 ===== */
.features { padding: 80px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212,168,83,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card:hover::before { opacity: 1; }

.feature-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(212,168,83,0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.feature-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== 截图展示 ===== */
.screenshots {
  padding: 80px 0;
  background: rgba(17,24,39,0.5);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 16px;
}

.screenshot-card {
  position: relative;
  margin: 0;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.screenshot-card:hover {
  border-color: rgba(212, 168, 83, 0.35);
  transform: translateY(-4px);
}

.screenshot-card-large {
  grid-row: span 2;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.screenshot-card-large img {
  height: 618px;
}

.screenshot-card:hover img {
  transform: scale(1.03);
}

.screenshot-card.focus-right img {
  object-position: right center;
}

.screenshot-card.focus-left img {
  object-position: left center;
}

.screenshot-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: #f4f8ff;
  font-size: 0.9rem;
  background: rgba(7, 10, 18, 0.68);
  backdrop-filter: blur(12px);
}

/* ===== 下载区域 ===== */
.download { padding: 80px 0; }

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.download-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s;
}
.download-card:hover {
  border-color: rgba(212,168,83,0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.download-card.featured {
  border-color: rgba(212,168,83,0.4);
  background: linear-gradient(180deg, rgba(212,168,83,0.08) 0%, var(--bg-card) 100%);
  position: relative;
}
.download-card.featured::before {
  content: "推荐";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--gold);
  color: #1a1000;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 12px;
}

.download-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  background: rgba(212,168,83,0.1);
  border: 1px solid var(--border);
  position: relative;
}
.download-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 32px; height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.download-icon.android::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4a853'%3E%3Cpath d='M17.6 9.48l1.84-3.18c.16-.31.04-.69-.26-.85-.29-.15-.65-.06-.83.22l-1.88 3.24a9.74 9.74 0 0 0-4.47 0L9.12 5.67c-.18-.28-.54-.37-.83-.22-.3.16-.42.54-.26.85l1.84 3.18a8.2 8.2 0 0 0-3.4 5.64H21a8.2 8.2 0 0 0-3.4-5.64zM7.5 16.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm9 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E");
}
.download-icon.ios::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4a853'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E");
}
.download-icon.pc::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4a853'%3E%3Cpath d='M20 18H4v-12h16m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2m-6 8H8v-2h6v2'/%3E%3C/svg%3E");
}

.download-card h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}
.download-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
  min-height: 3em;
}

/* ===== 退款 ===== */
.refund {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent, rgba(17,24,39,0.6));
}

.refund-box {
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px dashed rgba(212,168,83,0.3);
  border-radius: var(--radius-lg);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner nav a {
  font-size: 0.85rem;
  color: var(--gold);
}
.footer-inner nav a:hover { text-decoration: underline; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .phone-screen { transform: none; animation: none; }
  .features-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: repeat(2, 1fr); }
  .screenshots-grid {
    grid-template-columns: 1fr 1fr;
  }
  .screenshot-card-large {
    grid-row: span 1;
  }
  .screenshot-card-large img,
  .screenshot-card img {
    height: 300px;
  }
  .download-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(10,14,26,0.97);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border);
  }

  .checklist-grid { grid-template-columns: 1fr; }
  .screenshots-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .screenshot-card-large img,
  .screenshot-card img {
    height: auto;
    aspect-ratio: 9/16;
  }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
